package com.zlb.knifeconsumer.service.impl;

import com.zlb.knifeconsumer.service.ITestService;
import com.zlb.knifeconsumer.service.TestFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestServiceImpl implements ITestService {

    @Autowired
    private TestFeignService testFeignService;

    @Override
    public String queryTest() {
        // 声明式服务调用
        return testFeignService.testQuery();
    }
}
